package com.sl.au.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.sl.au.entity.Option;

/**
 * 总体回款类型表
 * @author Administrator
 *
 */
@Entity
@Table(name="sl_crm_receivedPaymentTotalInfo")
public class ReceivedPaymentTotalInfo extends Root {
	/**
	 * 网点号
	 */
	/*@Column(name="sReceivedPaymentsNetworkNumer")*/
	private String sReceivedPaymentsNetworkNumer;
   /**
    * 凭证种类
    */	
	@ManyToOne	
	@JoinColumn(name="sReceivedPaymentsIdentifyType")
    private Option sReceivedPaymentsIdentifyType;
	/**
	 * 凭证号
	 */
	/*@Column(name="sReceivedPaymentsIdentifyNumber")*/
	private String sReceivedPaymentsIdentifyNumber;
	/**
	 * 户名
	 */
	@Column(name="sReceivedPaymentsName")
	private String sReceivedPaymentsName;
	
	/**
	 * 账号
	 */
	@Column(name="sReceivedPaymentsAccount")
	private String sReceivedPaymentsAccount;
	
	/**
	 * 对方户名
	 */
	@Column(name="sReceivedPaymentsCustomerName")
	private String sReceivedPaymentsCustomerName;
	
	/**
	 * 对方账号
	 */
	@Column(name="sReceivedPaymentsCustomerAccount")
	private String sReceivedPaymentsCustomerAccount;
	
	/**
	 * 日期
	 */
	@Column(name="dReceivedPaymentsDate")
	private Date dReceivedPaymentsDate;
	
	/**
	 * 交易类型
	 */
	@Column(name="sReceivedPaymentTradeType")
	private String sReceivedPaymentTradeType;
	
	/**
	 * 回款金额
	 */
	@Column(name="nReceivedPaymentActualPrice")
	private Double nReceivedPaymentActualPrice;
	
	/**
	 * 摘要
	 */
	@Column(name="sReceivedPaymentMemo")
	private String sReceivedPaymentMemo;
	private String sReceivedPaymentPersonId;
	
	/**
	 * 创建人
	 */
	@Column(name="sCreateUserId")
	private String sCreateUserId;
	/**
	 * 交易方式
	 */
	@Column(name="sReceivedPaymentTradeWay")
	private String sReceivedPaymentTradeWay;

	public String getsReceivedPaymentPersonId() {
		return sReceivedPaymentPersonId;
	}

	public void setsReceivedPaymentPersonId(String sReceivedPaymentPersonId) {
		this.sReceivedPaymentPersonId = sReceivedPaymentPersonId;
	}

	public String getsReceivedPaymentsNetworkNumer() {
		return sReceivedPaymentsNetworkNumer;
	}

	public void setsReceivedPaymentsNetworkNumer(String sReceivedPaymentsNetworkNumer) {
		this.sReceivedPaymentsNetworkNumer = sReceivedPaymentsNetworkNumer;
	}

	public Option getsReceivedPaymentsIdentifyType() {
		return sReceivedPaymentsIdentifyType;
	}

	public void setsReceivedPaymentsIdentifyType(Option sReceivedPaymentsIdentifyType) {
		this.sReceivedPaymentsIdentifyType = sReceivedPaymentsIdentifyType;
	}

	public String getsReceivedPaymentsIdentifyNumber() {
		return sReceivedPaymentsIdentifyNumber;
	}

	public void setsReceivedPaymentsIdentifyNumber(String sReceivedPaymentsIdentifyNumber) {
		this.sReceivedPaymentsIdentifyNumber = sReceivedPaymentsIdentifyNumber;
	}

	public String getsReceivedPaymentsName() {
		return sReceivedPaymentsName;
	}

	public void setsReceivedPaymentsName(String sReceivedPaymentsName) {
		this.sReceivedPaymentsName = sReceivedPaymentsName;
	}

	public String getsReceivedPaymentsAccount() {
		return sReceivedPaymentsAccount;
	}

	public void setsReceivedPaymentsAccount(String sReceivedPaymentsAccount) {
		this.sReceivedPaymentsAccount = sReceivedPaymentsAccount;
	}

	public String getsReceivedPaymentsCustomerName() {
		return sReceivedPaymentsCustomerName;
	}

	public void setsReceivedPaymentsCustomerName(String sReceivedPaymentsCustomerName) {
		this.sReceivedPaymentsCustomerName = sReceivedPaymentsCustomerName;
	}

	public String getsReceivedPaymentsCustomerAccount() {
		return sReceivedPaymentsCustomerAccount;
	}

	public void setsReceivedPaymentsCustomerAccount(String sReceivedPaymentsCustomerAccount) {
		this.sReceivedPaymentsCustomerAccount = sReceivedPaymentsCustomerAccount;
	}

	public Date getdReceivedPaymentsDate() {
		return dReceivedPaymentsDate;
	}

	public void setdReceivedPaymentsDate(Date dReceivedPaymentsDate) {
		this.dReceivedPaymentsDate = dReceivedPaymentsDate;
	}

	public String getsReceivedPaymentTradeType() {
		return sReceivedPaymentTradeType;
	}

	public void setsReceivedPaymentTradeType(String sReceivedPaymentTradeType) {
		this.sReceivedPaymentTradeType = sReceivedPaymentTradeType;
	}

	public Double getnReceivedPaymentActualPrice() {
		return nReceivedPaymentActualPrice;
	}

	public void setnReceivedPaymentActualPrice(Double nReceivedPaymentActualPrice) {
		this.nReceivedPaymentActualPrice = nReceivedPaymentActualPrice;
	}

	public String getsReceivedPaymentMemo() {
		return sReceivedPaymentMemo;
	}

	public void setsReceivedPaymentMemo(String sReceivedPaymentMemo) {
		this.sReceivedPaymentMemo = sReceivedPaymentMemo;
	}

	public String getsCreateUserId() {
		return sCreateUserId;
	}

	public void setsCreateUserId(String sCreateUserId) {
		this.sCreateUserId = sCreateUserId;
	}

	public String getsReceivedPaymentTradeWay() {
		return sReceivedPaymentTradeWay;
	}

	public void setsReceivedPaymentTradeWay(String sReceivedPaymentTradeWay) {
		this.sReceivedPaymentTradeWay = sReceivedPaymentTradeWay;
	}	
}
